#ifndef QKEYBOARDHOST_H
#define QKEYBOARDHOST_H

#include "../sharedlibglobal.h"

#include "qabstractwidgethost.h"

#define KEYBOARD_TITLE "keyboard"

class SHAREDLIB_EXPORT QKeyBoardHost : public QAbstractWidgetHost
{
    Q_OBJECT
public:
    QKeyBoardHost(QAbstractHost *parent = 0);

    void    connect_button();

protected slots:
    void    key_button_clicked();
protected:
    void    init_property();

    bool    handle_mouse_release_event(QMouseEvent *event);
    bool    handle_mouse_press_event(QMouseEvent *event);
    bool    handle_mouse_move_event(QMouseEvent *event);
    bool    handle_double_clicked_event(QMouseEvent *event);
    bool    handle_context_menu_event(QContextMenuEvent *event);
protected:
    void    create_object();
};

#endif // QKEYBOARDHOST_H
